package com.jp.factoy.service;


import com.jp.factoy.pojo.FactoryAddVo;
import com.jp.factoy.pojo.FactorySelectVo;
import com.jp.factoy.pojo.FactoryStateVo;
import com.jp.factoy.pojo.FactoryUpdateVo;
import com.jp.factoy.util.AllRecords;
import com.jp.factoy.util.ResultVo;

/**
 * Created by Administrator on 2019/6/13.
 */
public interface FactoryService {

    ResultVo addFactory(FactoryAddVo factoryAddVo);

    ResultVo updateFactory(FactoryUpdateVo factoryUpdateVo);

    ResultVo updateState(FactoryStateVo factoryStateVo);

    ResultVo queryFactoryById(Integer fid);

    ResultVo<AllRecords> queryPage(FactorySelectVo factorySelectVo);
}
